NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, I need for my website to embed a map for different cities and show local mosques. I found the query which is this: http://overpass-turbo.eu/s/15Xv

The problem I got 500 different cities and I can't embed them manually. Is it possible to have an URL where I just change the latitude and longitude to change location ? That way I can automate this on my side

Thanks !

asked 10 Apr '21, 05:46

yojimbo45's gravatar image

yojimbo45
11112
accept rate: 0%

hi, i'm not familiar with api. how i can use this request and send it with URL API and receive the json data so I can add the places on the map

/ This has been generated by the overpass-turbo wizard. The original search was: “"place of worship" and muslim or mosque or minaret ” / [out:json][timeout:25]; // gather results ( // query part for: “"place of worship" and muslim” node["amenity"="place_of_worship"]["amenity"="place_of_worship"]"religion"="muslim"; way["amenity"="place_of_worship"]["amenity"="place_of_worship"]"religion"="muslim"; relation["amenity"="place_of_worship"]["amenity"="place_of_worship"]"religion"="muslim"; // query part for: “mosque” node["man_made"="tower"]"tower:type"="mosque"; way["man_made"="tower"]"tower:type"="mosque"; relation["man_made"="tower"]"tower:type"="mosque"; // query part for: “minaret” node["man_made"="tower"]"tower:type"="minaret"; way["man_made"="tower"]"tower:type"="minaret"; relation["man_made"="tower"]"tower:type"="minaret"; ); // print results out body;

; out skel qt;

(11 Apr '21, 00:36) yojimbo45

permanent link

answered 11 Apr '21, 01:57

yojimbo45's gravatar image

yojimbo45
11112
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×2

question asked: 10 Apr '21, 05:46

question was seen: 896 times

last updated: 11 Apr '21, 10:38

Related questions

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum